package com.nagarro.assignment1.inventory;

/**
 * Class representing an item.
 * @author Shreyasi Agrawal
 * @version 1.0
 */
public abstract class Item {
	public String name;
	public double price;
	public String type;
	public double tax;
	public double total;
	
	public abstract double calculate(double price);
	
	public double compute(double price) {
		return ((0.125) * price);
	}
}
